//
//  AppDelegate.swift
//  book
//
//  Created by 唐枫 on 17/5/25.
//  Copyright © 2017年 iosclub. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        sleep(1)
        
        //1.实例化窗体
        window = UIWindow()
        window?.rootViewController = bookMainController()
        window?.makeKeyAndVisible()            //可视化
        
        
        return true
    }

    

}

